package com.qindachang.bluetoothlelibrary.ui.test.Agree;

public class IntUtil {

    //1字节
//    public short getUint8(short s){
//        return s & 0x00ff;
//    }
    //2字节
    public static int getUint16(int i) {
        return i & 0x0000ffff;
    }

    //4字节
    public static long getUint32(long l) {
        return l & 0x00000000ffffffff;
    }



}
